﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.ModelBinding;
using System.Web.UI;
using System.Web.UI.WebControls;
using Box.BL;
using Box.Entities;
using Microsoft.Practices.Unity;

namespace WEB
{
    public partial class frmListProveedores : System.Web.UI.Page
    {
        [Dependency]
        public IProveedorBL proveedorBl { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        public IEnumerable<Proveedor> GetProveedores([Control("txtCriterio")]string criterio)
        {
            return proveedorBl.GetFromProveedorsByCriterio(criterio);
        }

    }
}